package com.example.es.business.user.service;


import com.example.es.business.user.dao.SysUserDAO;
import com.example.es.business.user.dto.SysUserDTO;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.io.Serializable;
import java.util.List;
import java.util.Map;


@Service
public class SysUserService implements Serializable {

    private static final long serialVersionUID = 1L;
    private static final Logger logger = LoggerFactory.getLogger(SysUserService.class);

    @Autowired
    private SysUserDAO dao;

    public List<SysUserDTO> searchSysUser() {
        return dao.searchSysUser();
    }

    public List<SysUserDTO> searchSysUserByPaging(Map map) {
        return dao.searchSysUserByPaging(map);
    }

}

